﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoragePeriod.Model.RawDict
{
    /// <summary>
    /// 原料表
    /// </summary>
    [Serializable]
    public partial class E_RawMaterial
    {
        public E_RawMaterial()
        { }
        #region Model
        private int _id;
        private string _rawname;
        private int? _rawtid;
        private int? _rawid;
        private int? _rawids;
        private string _rawsid;
        private string _rawwid;
        private string _indbid;
        private string _back;
        private string _temp1;
        private string _temp2;
        private int? _rawzs;
        private string _safetytips;
        private int? _periodtypeid;
        private Guid _idkey;
        private int? _periodtypestorageid;
        private int? _periodtypeknowledgeid;
        private int? _periodtypestorknowledgeid;
        private decimal? _usefulpart;
        private int? _isedit = 0;
        /// <summary>
        /// 原料ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string RAWName
        {
            set { _rawname = value; }
            get { return _rawname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RAWTID
        {
            set { _rawtid = value; }
            get { return _rawtid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RAWID
        {
            set { _rawid = value; }
            get { return _rawid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RAWIDS
        {
            set { _rawids = value; }
            get { return _rawids; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RAWSid
        {
            set { _rawsid = value; }
            get { return _rawsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RAWWid
        {
            set { _rawwid = value; }
            get { return _rawwid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InDBid
        {
            set { _indbid = value; }
            get { return _indbid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Back
        {
            set { _back = value; }
            get { return _back; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp1
        {
            set { _temp1 = value; }
            get { return _temp1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp2
        {
            set { _temp2 = value; }
            get { return _temp2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RAWZS
        {
            set { _rawzs = value; }
            get { return _rawzs; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SafetyTips
        {
            set { _safetytips = value; }
            get { return _safetytips; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PeriodTypeID
        {
            set { _periodtypeid = value; }
            get { return _periodtypeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid idkey
        {
            set { _idkey = value; }
            get { return _idkey; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PeriodTypeStorageID
        {
            set { _periodtypestorageid = value; }
            get { return _periodtypestorageid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PeriodTypeKnowledgeID
        {
            set { _periodtypeknowledgeid = value; }
            get { return _periodtypeknowledgeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PeriodTypeStorKnowledgeID
        {
            set { _periodtypestorknowledgeid = value; }
            get { return _periodtypestorknowledgeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? UsefulPart
        {
            set { _usefulpart = value; }
            get { return _usefulpart; }
        }
        /// <summary>
        /// 是否有修改（若有修改则不同步）
        /// </summary>
        public int? IsEdit
        {
            set { _isedit = value; }
            get { return _isedit; }
        }
        #endregion Model

        #region 数据接口
        /// <summary>
        /// 查询条件
        /// </summary>
        public string StrWhere { get; set; }
        #endregion

    }
}
